package top.tangyh.lamp.care.controller;

import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestMapping;
import top.tangyh.basic.interfaces.echo.EchoService;
import top.tangyh.basic.base.controller.SuperController;
import top.tangyh.lamp.care.service.HisHospitalRecordService;
import top.tangyh.lamp.care.entity.HisHospitalRecord;
import top.tangyh.lamp.care.vo.save.HisHospitalRecordSaveVO;
import top.tangyh.lamp.care.vo.update.HisHospitalRecordUpdateVO;
import top.tangyh.lamp.care.vo.result.HisHospitalRecordResultVO;
import top.tangyh.lamp.care.vo.query.HisHospitalRecordPageQuery;
import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 前端控制器
 * 患者住院记录表
 * </p>
 *
 * @author zqb
 * @date 2024-12-20 13:34:44
 * @create [2024-12-20 13:34:44] [zqb] [代码生成器生成]
 */
@Slf4j
@RequiredArgsConstructor
@Validated
@RestController
@RequestMapping("/hisHospitalRecord")
@Tag(name = "患者住院记录表")
public class HisHospitalRecordController extends SuperController<HisHospitalRecordService, Long, HisHospitalRecord
    , HisHospitalRecordSaveVO, HisHospitalRecordUpdateVO, HisHospitalRecordPageQuery, HisHospitalRecordResultVO> {
    private final EchoService echoService;
    @Override
    public EchoService getEchoService() {
        return echoService;
    }

}


